/*
 * XML Type:  BillPayRequestMessageSetV1
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.BillPayRequestMessageSetV1
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML BillPayRequestMessageSetV1(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class BillPayRequestMessageSetV1Impl extends net.ofx.types.x2003.x04.impl.AbstractRequestMessageSetImpl implements net.ofx.types.x2003.x04.BillPayRequestMessageSetV1
{
    
    public BillPayRequestMessageSetV1Impl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PAYEETRNRQ$0 = 
        new javax.xml.namespace.QName("", "PAYEETRNRQ");
    private static final javax.xml.namespace.QName PAYEESYNCRQ$2 = 
        new javax.xml.namespace.QName("", "PAYEESYNCRQ");
    private static final javax.xml.namespace.QName PMTTRNRQ$4 = 
        new javax.xml.namespace.QName("", "PMTTRNRQ");
    private static final javax.xml.namespace.QName RECPMTTRNRQ$6 = 
        new javax.xml.namespace.QName("", "RECPMTTRNRQ");
    private static final javax.xml.namespace.QName PMTINQTRNRQ$8 = 
        new javax.xml.namespace.QName("", "PMTINQTRNRQ");
    private static final javax.xml.namespace.QName PMTMAILTRNRQ$10 = 
        new javax.xml.namespace.QName("", "PMTMAILTRNRQ");
    private static final javax.xml.namespace.QName PMTSYNCRQ$12 = 
        new javax.xml.namespace.QName("", "PMTSYNCRQ");
    private static final javax.xml.namespace.QName RECPMTSYNCRQ$14 = 
        new javax.xml.namespace.QName("", "RECPMTSYNCRQ");
    private static final javax.xml.namespace.QName PMTMAILSYNCRQ$16 = 
        new javax.xml.namespace.QName("", "PMTMAILSYNCRQ");
    
    
    /**
     * Gets array of all "PAYEETRNRQ" elements
     */
    public net.ofx.types.x2003.x04.PayeeTransactionRequest[] getPAYEETRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PAYEETRNRQ$0, targetList);
            net.ofx.types.x2003.x04.PayeeTransactionRequest[] result = new net.ofx.types.x2003.x04.PayeeTransactionRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PAYEETRNRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeTransactionRequest getPAYEETRNRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeTransactionRequest)get_store().find_element_user(PAYEETRNRQ$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PAYEETRNRQ" element
     */
    public int sizeOfPAYEETRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PAYEETRNRQ$0);
        }
    }
    
    /**
     * Sets array of all "PAYEETRNRQ" element
     */
    public void setPAYEETRNRQArray(net.ofx.types.x2003.x04.PayeeTransactionRequest[] payeetrnrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(payeetrnrqArray, PAYEETRNRQ$0);
        }
    }
    
    /**
     * Sets ith "PAYEETRNRQ" element
     */
    public void setPAYEETRNRQArray(int i, net.ofx.types.x2003.x04.PayeeTransactionRequest payeetrnrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeTransactionRequest)get_store().find_element_user(PAYEETRNRQ$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(payeetrnrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PAYEETRNRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeTransactionRequest insertNewPAYEETRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeTransactionRequest)get_store().insert_element_user(PAYEETRNRQ$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PAYEETRNRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeTransactionRequest addNewPAYEETRNRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeTransactionRequest)get_store().add_element_user(PAYEETRNRQ$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "PAYEETRNRQ" element
     */
    public void removePAYEETRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PAYEETRNRQ$0, i);
        }
    }
    
    /**
     * Gets array of all "PAYEESYNCRQ" elements
     */
    public net.ofx.types.x2003.x04.PayeeSyncRequest[] getPAYEESYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PAYEESYNCRQ$2, targetList);
            net.ofx.types.x2003.x04.PayeeSyncRequest[] result = new net.ofx.types.x2003.x04.PayeeSyncRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PAYEESYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeSyncRequest getPAYEESYNCRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeSyncRequest)get_store().find_element_user(PAYEESYNCRQ$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PAYEESYNCRQ" element
     */
    public int sizeOfPAYEESYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PAYEESYNCRQ$2);
        }
    }
    
    /**
     * Sets array of all "PAYEESYNCRQ" element
     */
    public void setPAYEESYNCRQArray(net.ofx.types.x2003.x04.PayeeSyncRequest[] payeesyncrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(payeesyncrqArray, PAYEESYNCRQ$2);
        }
    }
    
    /**
     * Sets ith "PAYEESYNCRQ" element
     */
    public void setPAYEESYNCRQArray(int i, net.ofx.types.x2003.x04.PayeeSyncRequest payeesyncrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeSyncRequest)get_store().find_element_user(PAYEESYNCRQ$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(payeesyncrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PAYEESYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeSyncRequest insertNewPAYEESYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeSyncRequest)get_store().insert_element_user(PAYEESYNCRQ$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PAYEESYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PayeeSyncRequest addNewPAYEESYNCRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PayeeSyncRequest)get_store().add_element_user(PAYEESYNCRQ$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "PAYEESYNCRQ" element
     */
    public void removePAYEESYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PAYEESYNCRQ$2, i);
        }
    }
    
    /**
     * Gets array of all "PMTTRNRQ" elements
     */
    public net.ofx.types.x2003.x04.PaymentTransactionRequest[] getPMTTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PMTTRNRQ$4, targetList);
            net.ofx.types.x2003.x04.PaymentTransactionRequest[] result = new net.ofx.types.x2003.x04.PaymentTransactionRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentTransactionRequest getPMTTRNRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentTransactionRequest)get_store().find_element_user(PMTTRNRQ$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PMTTRNRQ" element
     */
    public int sizeOfPMTTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PMTTRNRQ$4);
        }
    }
    
    /**
     * Sets array of all "PMTTRNRQ" element
     */
    public void setPMTTRNRQArray(net.ofx.types.x2003.x04.PaymentTransactionRequest[] pmttrnrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(pmttrnrqArray, PMTTRNRQ$4);
        }
    }
    
    /**
     * Sets ith "PMTTRNRQ" element
     */
    public void setPMTTRNRQArray(int i, net.ofx.types.x2003.x04.PaymentTransactionRequest pmttrnrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentTransactionRequest)get_store().find_element_user(PMTTRNRQ$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(pmttrnrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentTransactionRequest insertNewPMTTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentTransactionRequest)get_store().insert_element_user(PMTTRNRQ$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentTransactionRequest addNewPMTTRNRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentTransactionRequest)get_store().add_element_user(PMTTRNRQ$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "PMTTRNRQ" element
     */
    public void removePMTTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PMTTRNRQ$4, i);
        }
    }
    
    /**
     * Gets array of all "RECPMTTRNRQ" elements
     */
    public net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest[] getRECPMTTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(RECPMTTRNRQ$6, targetList);
            net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest[] result = new net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "RECPMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest getRECPMTTRNRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest)get_store().find_element_user(RECPMTTRNRQ$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "RECPMTTRNRQ" element
     */
    public int sizeOfRECPMTTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECPMTTRNRQ$6);
        }
    }
    
    /**
     * Sets array of all "RECPMTTRNRQ" element
     */
    public void setRECPMTTRNRQArray(net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest[] recpmttrnrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(recpmttrnrqArray, RECPMTTRNRQ$6);
        }
    }
    
    /**
     * Sets ith "RECPMTTRNRQ" element
     */
    public void setRECPMTTRNRQArray(int i, net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest recpmttrnrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest)get_store().find_element_user(RECPMTTRNRQ$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(recpmttrnrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "RECPMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest insertNewRECPMTTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest)get_store().insert_element_user(RECPMTTRNRQ$6, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "RECPMTTRNRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest addNewRECPMTTRNRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentTransactionRequest)get_store().add_element_user(RECPMTTRNRQ$6);
            return target;
        }
    }
    
    /**
     * Removes the ith "RECPMTTRNRQ" element
     */
    public void removeRECPMTTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECPMTTRNRQ$6, i);
        }
    }
    
    /**
     * Gets array of all "PMTINQTRNRQ" elements
     */
    public net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest[] getPMTINQTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PMTINQTRNRQ$8, targetList);
            net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest[] result = new net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PMTINQTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest getPMTINQTRNRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest)get_store().find_element_user(PMTINQTRNRQ$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PMTINQTRNRQ" element
     */
    public int sizeOfPMTINQTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PMTINQTRNRQ$8);
        }
    }
    
    /**
     * Sets array of all "PMTINQTRNRQ" element
     */
    public void setPMTINQTRNRQArray(net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest[] pmtinqtrnrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(pmtinqtrnrqArray, PMTINQTRNRQ$8);
        }
    }
    
    /**
     * Sets ith "PMTINQTRNRQ" element
     */
    public void setPMTINQTRNRQArray(int i, net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest pmtinqtrnrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest)get_store().find_element_user(PMTINQTRNRQ$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(pmtinqtrnrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PMTINQTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest insertNewPMTINQTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest)get_store().insert_element_user(PMTINQTRNRQ$8, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PMTINQTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest addNewPMTINQTRNRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentInquiryTransactionRequest)get_store().add_element_user(PMTINQTRNRQ$8);
            return target;
        }
    }
    
    /**
     * Removes the ith "PMTINQTRNRQ" element
     */
    public void removePMTINQTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PMTINQTRNRQ$8, i);
        }
    }
    
    /**
     * Gets array of all "PMTMAILTRNRQ" elements
     */
    public net.ofx.types.x2003.x04.PaymentMailTransactionRequest[] getPMTMAILTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PMTMAILTRNRQ$10, targetList);
            net.ofx.types.x2003.x04.PaymentMailTransactionRequest[] result = new net.ofx.types.x2003.x04.PaymentMailTransactionRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PMTMAILTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailTransactionRequest getPMTMAILTRNRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailTransactionRequest)get_store().find_element_user(PMTMAILTRNRQ$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PMTMAILTRNRQ" element
     */
    public int sizeOfPMTMAILTRNRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PMTMAILTRNRQ$10);
        }
    }
    
    /**
     * Sets array of all "PMTMAILTRNRQ" element
     */
    public void setPMTMAILTRNRQArray(net.ofx.types.x2003.x04.PaymentMailTransactionRequest[] pmtmailtrnrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(pmtmailtrnrqArray, PMTMAILTRNRQ$10);
        }
    }
    
    /**
     * Sets ith "PMTMAILTRNRQ" element
     */
    public void setPMTMAILTRNRQArray(int i, net.ofx.types.x2003.x04.PaymentMailTransactionRequest pmtmailtrnrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailTransactionRequest)get_store().find_element_user(PMTMAILTRNRQ$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(pmtmailtrnrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PMTMAILTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailTransactionRequest insertNewPMTMAILTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailTransactionRequest)get_store().insert_element_user(PMTMAILTRNRQ$10, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PMTMAILTRNRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailTransactionRequest addNewPMTMAILTRNRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailTransactionRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailTransactionRequest)get_store().add_element_user(PMTMAILTRNRQ$10);
            return target;
        }
    }
    
    /**
     * Removes the ith "PMTMAILTRNRQ" element
     */
    public void removePMTMAILTRNRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PMTMAILTRNRQ$10, i);
        }
    }
    
    /**
     * Gets array of all "PMTSYNCRQ" elements
     */
    public net.ofx.types.x2003.x04.PaymentSyncRequest[] getPMTSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PMTSYNCRQ$12, targetList);
            net.ofx.types.x2003.x04.PaymentSyncRequest[] result = new net.ofx.types.x2003.x04.PaymentSyncRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentSyncRequest getPMTSYNCRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentSyncRequest)get_store().find_element_user(PMTSYNCRQ$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PMTSYNCRQ" element
     */
    public int sizeOfPMTSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PMTSYNCRQ$12);
        }
    }
    
    /**
     * Sets array of all "PMTSYNCRQ" element
     */
    public void setPMTSYNCRQArray(net.ofx.types.x2003.x04.PaymentSyncRequest[] pmtsyncrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(pmtsyncrqArray, PMTSYNCRQ$12);
        }
    }
    
    /**
     * Sets ith "PMTSYNCRQ" element
     */
    public void setPMTSYNCRQArray(int i, net.ofx.types.x2003.x04.PaymentSyncRequest pmtsyncrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentSyncRequest)get_store().find_element_user(PMTSYNCRQ$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(pmtsyncrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentSyncRequest insertNewPMTSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentSyncRequest)get_store().insert_element_user(PMTSYNCRQ$12, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentSyncRequest addNewPMTSYNCRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentSyncRequest)get_store().add_element_user(PMTSYNCRQ$12);
            return target;
        }
    }
    
    /**
     * Removes the ith "PMTSYNCRQ" element
     */
    public void removePMTSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PMTSYNCRQ$12, i);
        }
    }
    
    /**
     * Gets array of all "RECPMTSYNCRQ" elements
     */
    public net.ofx.types.x2003.x04.RecurringPaymentSyncRequest[] getRECPMTSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(RECPMTSYNCRQ$14, targetList);
            net.ofx.types.x2003.x04.RecurringPaymentSyncRequest[] result = new net.ofx.types.x2003.x04.RecurringPaymentSyncRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "RECPMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentSyncRequest getRECPMTSYNCRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentSyncRequest)get_store().find_element_user(RECPMTSYNCRQ$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "RECPMTSYNCRQ" element
     */
    public int sizeOfRECPMTSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECPMTSYNCRQ$14);
        }
    }
    
    /**
     * Sets array of all "RECPMTSYNCRQ" element
     */
    public void setRECPMTSYNCRQArray(net.ofx.types.x2003.x04.RecurringPaymentSyncRequest[] recpmtsyncrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(recpmtsyncrqArray, RECPMTSYNCRQ$14);
        }
    }
    
    /**
     * Sets ith "RECPMTSYNCRQ" element
     */
    public void setRECPMTSYNCRQArray(int i, net.ofx.types.x2003.x04.RecurringPaymentSyncRequest recpmtsyncrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentSyncRequest)get_store().find_element_user(RECPMTSYNCRQ$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(recpmtsyncrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "RECPMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentSyncRequest insertNewRECPMTSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentSyncRequest)get_store().insert_element_user(RECPMTSYNCRQ$14, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "RECPMTSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.RecurringPaymentSyncRequest addNewRECPMTSYNCRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringPaymentSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.RecurringPaymentSyncRequest)get_store().add_element_user(RECPMTSYNCRQ$14);
            return target;
        }
    }
    
    /**
     * Removes the ith "RECPMTSYNCRQ" element
     */
    public void removeRECPMTSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECPMTSYNCRQ$14, i);
        }
    }
    
    /**
     * Gets array of all "PMTMAILSYNCRQ" elements
     */
    public net.ofx.types.x2003.x04.PaymentMailSyncRequest[] getPMTMAILSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PMTMAILSYNCRQ$16, targetList);
            net.ofx.types.x2003.x04.PaymentMailSyncRequest[] result = new net.ofx.types.x2003.x04.PaymentMailSyncRequest[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PMTMAILSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailSyncRequest getPMTMAILSYNCRQArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailSyncRequest)get_store().find_element_user(PMTMAILSYNCRQ$16, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PMTMAILSYNCRQ" element
     */
    public int sizeOfPMTMAILSYNCRQArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PMTMAILSYNCRQ$16);
        }
    }
    
    /**
     * Sets array of all "PMTMAILSYNCRQ" element
     */
    public void setPMTMAILSYNCRQArray(net.ofx.types.x2003.x04.PaymentMailSyncRequest[] pmtmailsyncrqArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(pmtmailsyncrqArray, PMTMAILSYNCRQ$16);
        }
    }
    
    /**
     * Sets ith "PMTMAILSYNCRQ" element
     */
    public void setPMTMAILSYNCRQArray(int i, net.ofx.types.x2003.x04.PaymentMailSyncRequest pmtmailsyncrq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailSyncRequest)get_store().find_element_user(PMTMAILSYNCRQ$16, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(pmtmailsyncrq);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PMTMAILSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailSyncRequest insertNewPMTMAILSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailSyncRequest)get_store().insert_element_user(PMTMAILSYNCRQ$16, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PMTMAILSYNCRQ" element
     */
    public net.ofx.types.x2003.x04.PaymentMailSyncRequest addNewPMTMAILSYNCRQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PaymentMailSyncRequest target = null;
            target = (net.ofx.types.x2003.x04.PaymentMailSyncRequest)get_store().add_element_user(PMTMAILSYNCRQ$16);
            return target;
        }
    }
    
    /**
     * Removes the ith "PMTMAILSYNCRQ" element
     */
    public void removePMTMAILSYNCRQ(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PMTMAILSYNCRQ$16, i);
        }
    }
}
